#ifndef TRAJORIENTATIONCALCULATE_H
#define TRAJORIENTATIONCALCULATE_H
#include "GeneralDefine.h"
#include <QQueue>

class TrajOrientationCalculate
{
public:
    TrajOrientationCalculate();

    int readPointFromCsv(QString pathIn, QVector<PointPro> &bufferPointQueueInOut);

    int combineOrientation(QVector<PointPro> refOri, QVector<PointPro> &bufferPointQueueInOut);

private:
    double calAngle(std::vector<double> p1, std::vector<double> p2, std::vector<double> p3);
};

#endif // TRAJORIENTATIONCALCULATE_H
